home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMDocumentStyle.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  3KB  |  99 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMDocumentStyle.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMDocumentStyle_h__
  6. #define __gen_nsIDOMDocumentStyle_h__
  7.  
  8.  
  9. #ifndef __gen_domstubs_h__
  10. #include "domstubs.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsIDOMDocumentStyle */
  19. #define NS_IDOMDOCUMENTSTYLE_IID_STR "3d9f4973-dd2e-48f5-b5f7-2634e09eadd9"
  20.  
  21. #define NS_IDOMDOCUMENTSTYLE_IID \
  22.   {0x3d9f4973, 0xdd2e, 0x48f5, \
  23.     { 0xb5, 0xf7, 0x26, 0x34, 0xe0, 0x9e, 0xad, 0xd9 }}
  24.  
  25. /**
  26.  * The nsIDOMDocumentStyle interface is an interface to a document
  27.  * object that supports style sheets in the Document Object Model.
  28.  *
  29.  * For more information on this interface please see
  30.  * http://www.w3.org/TR/DOM-Level-2-Style
  31.  *
  32.  * @status FROZEN
  33.  */
  34. class NS_NO_VTABLE nsIDOMDocumentStyle : public nsISupports {
  35.  public: 
  36.  
  37.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMDOCUMENTSTYLE_IID)
  38.  
  39.   /* readonly attribute nsIDOMStyleSheetList styleSheets; */
  40.   NS_IMETHOD GetStyleSheets(nsIDOMStyleSheetList * *aStyleSheets) = 0;
  41.  
  42. };
  43.  
  44. /* Use this macro when declaring classes that implement this interface. */
  45. #define NS_DECL_NSIDOMDOCUMENTSTYLE \
  46.   NS_IMETHOD GetStyleSheets(nsIDOMStyleSheetList * *aStyleSheets); 
  47.  
  48. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  49. #define NS_FORWARD_NSIDOMDOCUMENTSTYLE(_to) \
  50.   NS_IMETHOD GetStyleSheets(nsIDOMStyleSheetList * *aStyleSheets) { return _to GetStyleSheets(aStyleSheets); } 
  51.  
  52. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  53. #define NS_FORWARD_SAFE_NSIDOMDOCUMENTSTYLE(_to) \
  54.   NS_IMETHOD GetStyleSheets(nsIDOMStyleSheetList * *aStyleSheets) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStyleSheets(aStyleSheets); } 
  55.  
  56. #if 0
  57. /* Use the code below as a template for the implementation class for this interface. */
  58.  
  59. /* Header file */
  60. class nsDOMDocumentStyle : public nsIDOMDocumentStyle
  61. {
  62. public:
  63.   NS_DECL_ISUPPORTS
  64.   NS_DECL_NSIDOMDOCUMENTSTYLE
  65.  
  66.   nsDOMDocumentStyle();
  67.  
  68. private:
  69.   ~nsDOMDocumentStyle();
  70.  
  71. protected:
  72.   /* additional members */
  73. };
  74.  
  75. /* Implementation file */
  76. NS_IMPL_ISUPPORTS1(nsDOMDocumentStyle, nsIDOMDocumentStyle)
  77.  
  78. nsDOMDocumentStyle::nsDOMDocumentStyle()
  79. {
  80.   /* member initializers and constructor code */
  81. }
  82.  
  83. nsDOMDocumentStyle::~nsDOMDocumentStyle()
  84. {
  85.   /* destructor code */
  86. }
  87.  
  88. /* readonly attribute nsIDOMStyleSheetList styleSheets; */
  89. NS_IMETHODIMP nsDOMDocumentStyle::GetStyleSheets(nsIDOMStyleSheetList * *aStyleSheets)
  90. {
  91.     return NS_ERROR_NOT_IMPLEMENTED;
  92. }
  93.  
  94. /* End of implementation class template. */
  95. #endif
  96.  
  97.  
  98. #endif /* __gen_nsIDOMDocumentStyle_h__ */
  99.